<!-- 告警表格 -->

<template>
  <WebTable v-bind="tableProp" noPage>
    <RowText :label="`${CORE.MAP.ALARM}类型`" bind="warnTypeName" />

    <RowNum :label="`${CORE.MAP.ALARM}总数`" bind="warnTotal" sort />

    <OurRowRate bind="warnTotalRingRadio" sort />

    <RowNum label="转工单数" bind="transferWorkOrder" empty="0" sort />

    <RowNum label="平均处理时长(分钟)" bind="averageMinute" empty="-" :minWidth="100" sort />

    <RowNum label="最长处理时长(分钟)" bind="maxMinute" empty="-" :minWidth="100" sort />

    <RowNum label="最短处理时长(分钟)" bind="minMinute" empty="-" :minWidth="100" sort />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import mixTable from '../../mixTable'
import { index } from '../store/state'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'AlarmTable',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [mixTable(index)],
}
</script>
